package com.nbgs.demo.dao;

import com.nbgs.demo.model.Consumption;
import org.apache.ibatis.annotations.Insert;

public interface ConsumptionMapper {
    //录入用户信息，并初始化用户用水数据一条
    @Insert("insert into t_consumption(consumption_month,consumption_start,consumption_end,card_id,entry_date,worker_name)\n" +
            "VALUE (#{consumptionMonth},#{consumptionStart},#{consumptionEnd},#{cardId},#{entryDate},#{workerName}) ")
    void InsertUserMessage(Consumption consumption);

}
